package com.xd.core.business.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 放款订单信息
 * </p>
 *
 * @author ZX
 * @since 2025-03-11
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="OutOrderInfo对象", description="放款订单信息")
public class OutOrderInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "放款商户订单号")
    private String orderNo;

    @ApiModelProperty(value = "放款id")
    private Integer outId;

    @ApiModelProperty(value = "申请金额(单位分)")
    private Long amount;

    @ApiModelProperty(value = "支付状态（1-申请中，2-成功，3-失败,4-退款）")
    private String payStatus;

    @ApiModelProperty(value = "放款id")
    private Integer orderId;

    @ApiModelProperty(value = "企业id")
    private Integer companyId;

    @TableField(fill = FieldFill.INSERT)
    @ApiModelProperty(value = "放款时间")
    private Date outTime;

    @ApiModelProperty(value = "交易到账时间")
    private Date tradeTime;

    @ApiModelProperty(value = "放款失败原因")
    private String failReason;

    @ApiModelProperty(value = "进件id")
    private Integer incomingId;

    @ApiModelProperty(value = "调拨提现流水号")
    private String clientTransId;
    @ApiModelProperty("收款人姓名")
    private String toAccName;
    @ApiModelProperty("收款人银行帐号")
    private String toAccNo;
    @ApiModelProperty("收款人银行名称")
    private String toBankName;
    @ApiModelProperty("银行卡身份证件号码")
    private String transCardId;
    @ApiModelProperty("联行号")//对公需要
    private String transCnap;

}
